//
//  QHUpdateProgressViewController.h
//  MUGH
//
//  Created by 李志良的mac mini on 2020/5/6.
//  Copyright © 2020 MUGH. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^RetryBtnTapBlock)(void);

@interface QHUpdateProgressViewController : UIViewController

@property(nonatomic,assign) CGFloat updateProgress;

@property(nonatomic,retain) UIView * contentView;

@property(nonatomic,retain) UIView * maskView;

@property(nonatomic,retain) UIImageView * topRoketView;

@property(nonatomic,retain) UIView * bottomContentView;

@property(nonatomic,retain) UIView * progressView;

@property(nonatomic,retain) UIView * progressBorderView;

@property(nonatomic,copy) RetryBtnTapBlock retryBlockTap;

@property(nonatomic,retain) UILabel * alertLabel;

@property(nonatomic,retain) UIView * opraView;

-(void)show;

-(void)showCompleteMessage;

-(void)showErrorMessage;

-(void)showNetWorkStatus:(NSInteger )status;

-(void)hideProgress;

-(void)setUpdateProgress:(CGFloat)updateProgress;

@end

NS_ASSUME_NONNULL_END
